package com.android.nextBus.XML;

import java.util.regex.Matcher;
import java.util.regex.Pattern;

//test
public class RegexParser {

	public static String regex(String regular_expression, String content) {
		Pattern regEx = Pattern.compile(regular_expression, Pattern.DOTALL);
		Matcher matcher = regEx.matcher(content);
		matcher.find();
		String data = matcher.group(1);
		return data;
	}
}
